
using Qdb.Bench.Logging.Replay.Commands;
using Qdb.IO;

namespace Qdb.Bench.Logging.Replay.Commands
{
	public class SeekCommand : IIoCommand
	{
		private readonly int _address;

		public SeekCommand(int address)
		{
			_address = address;
		}

		public virtual void Replay(IoAdapter adapter)
		{
			adapter.Seek(_address);
		}
	}
}
